package org.cocopapaya.common.flowcontrol;

public abstract class NonIndexedLoop {
	
	private int iterations;	
	
	public NonIndexedLoop(int iterations) {		
		this.iterations = iterations;
	}

	public void run(){
		for( int i=0; i<iterations; i++){
			this.runInside();
		}
	}

	public abstract void runInside();

}
